package com.example.newbilityblog.blog.domain.infrastructure;

import com.example.newbilityblog.blog.domain.entity.Blog;
import com.example.newbilityblog.blog.infrastructure.entity.BlogEntity;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.Optional;

public interface BlogRepository {
    Optional<Blog> findById(Long id);

    Long save(Blog blog);

    void delete(Collection<Long> ids);
}
